module.exports = {
  host: "192.168.43.174",
  publicPath: '/',
  proxy: {
    '/api': {
      // target: 'http://192.168.32.42:6683/',
      target: 'http://192.168.43.3:8858/',
      // target: 'http://192.168.32.36:6683/',
      changeOrigin: true,
      pathRewrite: {
        // 将访问路径的/api/替换成‘’，后台服务不用加api了,但前端的请求地址还是要加/api/
        "^/api/": "",
      },

    },
  }
}
